package cn.stylefeng.guns.modular.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.entity.IdjActivityApply;
import cn.stylefeng.guns.modular.entity.IdjBanner;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.servlet.ModelAndView;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 轮播图 服务类
 * </p>
 *
 * @author TANGWJ
 * @since 2020-07-30
 */
public interface IIdjBannerService extends IService<IdjBanner> {

	LayuiPageInfo getList(Page<IdjActivityApply> page, Integer bannerType);

	ModelAndView edit(Long bannerId);
	
	int setStatus(IdjBanner banner);
	
	int insert(IdjBanner banner);
	
	int delete(Long bannerId);
}
